module.exports = {
  devServer: {
    proxy: {
      '/music': {
        target: `https://u.y.qq.com`,
        changeOrigin: true,
        secure: false,
        ws: true,
        pathRewrite: {
          '^/music': ''
        }
      },
      '/singer': {
        target: `https://c.y.qq.com`,
        changeOrigin: true,
        secure: false,
        ws: true,
        pathRewrite: {
          '^/singer': ''
        }
      }
    }
  }
}
